home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
lib
/
mntlib44.zoo
/
mntlib
/
binmode.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-08-26
|
458b
|
22 lines
/*
* added _binmode()
* if called with TRUE, then subsequently all fopens have _IOBIN
* by default on open. This will make life much easier for
* people who have been using the Gnu lib (any my job with the compiler
* much easier too, dont't have to go hunting for fopens())
* ++jrb;
*/
#include <stdio.h>
extern int __default_mode__;
void _binmode(force)
int force;
{
if(force)
__default_mode__ = _IOBIN;
else
__default_mode__ = 0;
}